#include <QWidget>

class	QPushButton;
class	QTableWidget;
class	QRadioButton;
class	QLineEdit;
class	QLabel;
class	QComboBox;
class	QPrinter;

class MainWindow : public QWidget {
	Q_OBJECT
private:
	QPushButton	*loadData, *summ;
	QTableWidget	*bottomTable, *topTable;
	QRadioButton	*brutto, *tara, *avtomat, *manual;
	QLineEdit	*dateTimeEdit,*naklad,*poluch,*gruz;
	QComboBox	*avto,*fio,*otprav;
	QLabel	*vesLabel;
	int	numberAxles,numberCar;
	QPrinter	*printer;
private slots:
	void	showTime();
	void	loadDataSlot();
	void	summSlot();
	void	printSlot();
	void	cleanSlot();
public:
	MainWindow(QWidget* pwgt=0);
	virtual ~MainWindow();
};
